package com.ck.core.constant;

/**
 * es属性常用类
 *
 * @author dxy
 * @date 2019/5/8 15:53
 */
public class ElasticsearchConstant {
	/**
	 * 节目索引（monitor-data-program-*）
	 */
	public static final String INDEX_MONITOR_DATA_PROGRAM = "monitor-data-program-*";
	/**
	 * 素材索引（monitor-data-file-*）
	 */
	public static final String INDEX_MONITOR_DATA_FILE = "monitor-data-file-*";
	/**
	 * filePlayStartTime
	 */
	public static final String FILE_PLAY_START_TIME = "filePlayStartTime";
	/**
	 * programPlayStartTime
	 */
	public static final String PROGRAM_PLAY_START_TIME = "programPlayStartTime";

	/**
	 * programVersion
	 */
	public static final String PROGRAM_VERSION = "programVersion";

	/**
	 * epoch_millis
	 */
	public static final String EPOCH_MILLIS = "epoch_millis";

	/**
	 * 按fileNameURL分组
	 */
	public static final String GROUP_BY_FILE_NAME_URL = "group_by_file_name_url";

	/**
	 * fileNameURL.keyword
	 */
	public static final String FILE_NAME_URL_KEYWORD = "fileNameURL.keyword";

	/**
	 * playNumCount
	 */
	public static final String PLAY_NUM_COUNT = "playNumCount";

	/**
	 * playDuration
	 */
	public static final String PLAY_DURATION = "playDuration";

	/**
	 * palyDurationSum
	 */
	public static final String PLAY_DURATION_SUM = "playDurationSum";
	/**
	 * separator(&)
	 */
	public static final String SEPARATOR = "&@";

	/**
	 * 按programVersion分组
	 */
	public static final String GROUP_BY_PROGRAM_VERSION = "group_by_program_version";

	/**
	 * programVersion.keyword
	 */
	public static final String PROGRAM_VERSION_KEYWORD = "programVersion.keyword";

	/**
	 * 按deviceCode分组
	 */
	public static final String GROUP_BY_DEVICE_CODE = "group_by_device_code";

	/**
	 * deviceCode.keyword
	 */
	public static final String DEVICE_CODE_KEYWORD = "deviceCode.keyword";
	/**
	 * programVersionDeviceCode
	 */
	public static final String PROGRAM_VERSION_DEVICE_CODE = "programVersionDeviceCode";
	/**
	 * fileNameURL
	 */
	public static final String FILE_NAME_URL = "fileNameURL";
	/**
	 * deviceCode
	 */
	public static final String DEVICE_CODE = "deviceCode";
}
